package ru.sgu.acm.judge.impl;

import ru.sgu.acm.judge.Judge;
import ru.sgu.acm.model.Submit;

/**
 * Abstract judge using for make initialization.
 *
 * @author Vitaly Goldshteyn (VitalyGoldstein@gmail.com)
 */
public abstract class AbstractJudge implements Judge {
    public void judge(Submit submit) {
        submit.setJudgeAttempt(submit.getJudgeAttempt() + 1);
        submit.setAccepted(0);
        submit.setMemory(0);
        submit.setTime(0);
        submit.setTestNumber(0);
    }
}
